<?php
namespace App\Libraries;

use Illuminate\Container\Container;
use Illuminate\Events\Dispatcher;
use Illuminate\Routing\RouteDependencyResolverTrait;
use Illuminate\Routing\Router;

class ControllerRedirect {
	use RouteDependencyResolverTrait;
	
	public function dispatch(){
		$Route = new Router(new Dispatcher(),new Container());
		return $Route->dispatch(request());
	}
}